package com.ssl.mall.product.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ssl.mall.common.bean.Result;
import com.ssl.mall.product.service.IProductAttrValueService;

/**
 * <p>
 * spu属性值 前端控制器
 * </p>
 *
 * @author ssl
 * @since 2021-04-25
 */
@RestController
@RequestMapping("/product/product-attr-value")
public class ProductAttrValueController {
	@Autowired
	private IProductAttrValueService productAttrValueService;
	@GetMapping("coupons")
	public Result coupons() {
		return Result.ok().put("data", productAttrValueService.couponlist());
	}
}

